package com.operate.api.app.info.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class RecommendCompanyVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "公司名称")
    private String companyName;
    @Column(name = "公司头像地址")
    private String companyImg;
    @Column(name = "公司昵称(公司简称)")
    private String companyReferred;
    @ApiModelProperty(value = "上线剧目数量")
    private Integer dramaNum;

    @Column(name = "是否推荐（1 推荐 2 不推荐）")
    private String isRecommend;
    @Column(name = "推荐排序（值越大越再前）")
    private Integer recommendSort;

    @ApiModelProperty(value = "推荐时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date recommendDate;
}
